package com.tedu.activity.handler;

import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * <p>
 *
 * </p>
 *
 * @author Song
 * @since 2020/10/13
 */
//@ControllerAdvice
public class GlobalException {

    @ExceptionHandler(Throwable.class)
    public String ex(Throwable throwable){
        return "404";
    }
}
